package com.lmqb.bean;

import java.math.BigDecimal;
import java.util.Date;


/*
 * 优惠券信息
 * */
public class LmCoupon {
    private Integer couponId;  //优惠券编号

    private Integer userId;  //用户编号

    private BigDecimal couponValue;  //面值

    private Integer obtainTime;  //获得时间

    private Integer expireTime; //过期时间

    private Byte useFlag; //是否使用:[0未使用;1已使用]

    private Integer useTime;  //使用时间

    private Byte obtainType;  //获得方式[0注册;1推荐]

    private String repayNo;  //还款订单号
    
    private Date obtainTimeD;  
    
    private Date expireTimeD;
    
    private Date useTimeD;
    
    private String userName;
    
    private String mobile;

    public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Date getObtainTimeD() {
		return obtainTimeD;
	}

	public void setObtainTimeD(Date obtainTimeD) {
		this.obtainTimeD = obtainTimeD;
	}

	public Date getExpireTimeD() {
		return expireTimeD;
	}

	public void setExpireTimeD(Date expireTimeD) {
		this.expireTimeD = expireTimeD;
	}

	public Date getUseTimeD() {
		return useTimeD;
	}

	public void setUseTimeD(Date useTimeD) {
		this.useTimeD = useTimeD;
	}

	public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getCouponValue() {
        return couponValue;
    }

    public void setCouponValue(BigDecimal couponValue) {
        this.couponValue = couponValue;
    }

    public Integer getObtainTime() {
        return obtainTime;
    }

    public void setObtainTime(Integer obtainTime) {
        this.obtainTime = obtainTime;
    }

    public Integer getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Integer expireTime) {
        this.expireTime = expireTime;
    }

    public Byte getUseFlag() {
        return useFlag;
    }

    public void setUseFlag(Byte useFlag) {
        this.useFlag = useFlag;
    }

    public Integer getUseTime() {
        return useTime;
    }

    public void setUseTime(Integer useTime) {
        this.useTime = useTime;
    }

    public Byte getObtainType() {
        return obtainType;
    }

    public void setObtainType(Byte obtainType) {
        this.obtainType = obtainType;
    }

    public String getRepayNo() {
        return repayNo;
    }

    public void setRepayNo(String repayNo) {
        this.repayNo = repayNo == null ? null : repayNo.trim();
    }
}